package com.beiye.drivertransport.bean;

import java.util.List;

/**
 * Created by ky on 2018/1/9.
 */

public class CourseBean {

    /**
     * result : true
     * data : null
     * msg : 操作成功
     * rows : [{"sn":64,"userId":null,"userName":"s","newsTitle":"测试新闻","topPicUrl":"/upload/img/201712181433419800916.jpg","newsBrief":"测试文档","newsContent":null,"topMark":1,"mark":1,"creationDate":1513578821000,"resultCode":null},{"sn":35,"userId":null,"userName":"s","newsTitle":"置顶的新闻","topPicUrl":"/upload/img/201712151109240480748.jpeg","newsBrief":null,"newsContent":null,"topMark":1,"mark":1,"creationDate":1513307364000,"resultCode":null},{"sn":9,"userId":null,"userName":"s","newsTitle":"\u201c悟空\u201d发现疑似暗物质踪迹","topPicUrl":"/upload/img/201711301551360950829.jpg","newsBrief":"\u201c悟空\u201d发现疑似暗物质踪迹 中国探问宇宙之谜迈出重要一步","newsContent":null,"topMark":1,"mark":1,"creationDate":1512025112000,"resultCode":null},{"sn":39,"userId":null,"userName":"s","newsTitle":"14:58","topPicUrl":null,"newsBrief":"瑟瑟发抖","newsContent":null,"topMark":0,"mark":1,"creationDate":1513321141000,"resultCode":null},{"sn":38,"userId":null,"userName":"s","newsTitle":"测试","topPicUrl":"/upload/img/201712151457156659976.jpg","newsBrief":"2123","newsContent":null,"topMark":0,"mark":1,"creationDate":1513321035000,"resultCode":null},{"sn":33,"userId":null,"userName":"s","newsTitle":"77","topPicUrl":"/upload/img/201712151039466932826.jpg","newsBrief":null,"newsContent":null,"topMark":0,"mark":1,"creationDate":1513305586000,"resultCode":null},{"sn":32,"userId":null,"userName":"s","newsTitle":"66","topPicUrl":"/upload/img/201712151039336040126.jpg","newsBrief":null,"newsContent":null,"topMark":0,"mark":1,"creationDate":1513305573000,"resultCode":null},{"sn":31,"userId":null,"userName":"s","newsTitle":"55","topPicUrl":"/upload/img/201712151039088721189.jpg","newsBrief":null,"newsContent":null,"topMark":0,"mark":1,"creationDate":1513305548000,"resultCode":null},{"sn":30,"userId":null,"userName":"s","newsTitle":"44","topPicUrl":"/upload/img/201712151038542869317.jpg","newsBrief":null,"newsContent":null,"topMark":0,"mark":1,"creationDate":1513305534000,"resultCode":null},{"sn":29,"userId":null,"userName":"s","newsTitle":"33","topPicUrl":"/upload/img/201712151038382677948.jpg","newsBrief":null,"newsContent":null,"topMark":0,"mark":1,"creationDate":1513305518000,"resultCode":null},{"sn":28,"userId":null,"userName":"s","newsTitle":"22","topPicUrl":"/upload/img/201712151038232944128.jpg","newsBrief":null,"newsContent":null,"topMark":0,"mark":1,"creationDate":1513305503000,"resultCode":null},{"sn":27,"userId":null,"userName":"s","newsTitle":"11","topPicUrl":"/upload/img/201712151038051153330.jpg","newsBrief":null,"newsContent":null,"topMark":0,"mark":1,"creationDate":1513305485000,"resultCode":null},{"sn":26,"userId":null,"userName":"s","newsTitle":"#XX路段车祸严重#","topPicUrl":"/upload/img/201712141624448335853.jpg","newsBrief":"驾运宝为您播报，XX路段发生特别重大车祸... ...","newsContent":null,"topMark":0,"mark":1,"creationDate":1513239884000,"resultCode":null},{"sn":24,"userId":null,"userName":"s","newsTitle":"#驾运宝迎来新发展#","topPicUrl":"/upload/img/201712141536506431195.jpg","newsBrief":"123456678","newsContent":null,"topMark":0,"mark":1,"creationDate":1513237010000,"resultCode":null},{"sn":23,"userId":null,"userName":"s","newsTitle":"#XX路段车祸严重#","topPicUrl":"/upload/img/201712141535378884254.jpg","newsBrief":"123456","newsContent":null,"topMark":0,"mark":1,"creationDate":1513236937000,"resultCode":null},{"sn":22,"userId":null,"userName":"s","newsTitle":"#驾运宝迎来新发展#","topPicUrl":"/upload/img/201712141533582616299.jpg","newsBrief":"123456789","newsContent":null,"topMark":0,"mark":1,"creationDate":1513236838000,"resultCode":null},{"sn":2,"userId":null,"userName":"s","newsTitle":"迷人的危险十大股东分红v","topPicUrl":null,"newsBrief":"十大股东分红v","newsContent":null,"topMark":0,"mark":1,"creationDate":1511849991000,"resultCode":null}]
     * total : 17
     * code : 0
     */

    private boolean result;
    private Object data;
    private String msg;
    private int total;
    private int code;
    private List<RowsBean> rows;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * sn : 64
         * userId : null
         * userName : s
         * newsTitle : 测试新闻
         * topPicUrl : /upload/img/201712181433419800916.jpg
         * newsBrief : 测试文档
         * newsContent : null
         * topMark : 1
         * mark : 1
         * creationDate : 1513578821000
         * resultCode : null
         */

        private int sn;
        private Object userId;
        private String userName;
        private String newsTitle;
        private String ntName;
        private String topPicUrl;
        private String newsBrief;
        private Object newsContent;
        private int topMark;
        private int mark;
        private int cmtMark;
        private long creationDate;
        private Object resultCode;
        public int getCmtMark() {
            return cmtMark;
        }

        public void setCmtMark(int cmtMark) {
            this.cmtMark = cmtMark;
        }


        public String getNtName() {
            return ntName;
        }

        public void setNtName(String ntName) {
            this.ntName = ntName;
        }
        public int getSn() {
            return sn;
        }

        public void setSn(int sn) {
            this.sn = sn;
        }

        public Object getUserId() {
            return userId;
        }

        public void setUserId(Object userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getNewsTitle() {
            return newsTitle;
        }

        public void setNewsTitle(String newsTitle) {
            this.newsTitle = newsTitle;
        }

        public String getTopPicUrl() {
            return topPicUrl;
        }

        public void setTopPicUrl(String topPicUrl) {
            this.topPicUrl = topPicUrl;
        }

        public String getNewsBrief() {
            return newsBrief;
        }

        public void setNewsBrief(String newsBrief) {
            this.newsBrief = newsBrief;
        }

        public Object getNewsContent() {
            return newsContent;
        }

        public void setNewsContent(Object newsContent) {
            this.newsContent = newsContent;
        }

        public int getTopMark() {
            return topMark;
        }

        public void setTopMark(int topMark) {
            this.topMark = topMark;
        }

        public int getMark() {
            return mark;
        }

        public void setMark(int mark) {
            this.mark = mark;
        }

        public long getCreationDate() {
            return creationDate;
        }

        public void setCreationDate(long creationDate) {
            this.creationDate = creationDate;
        }

        public Object getResultCode() {
            return resultCode;
        }

        public void setResultCode(Object resultCode) {
            this.resultCode = resultCode;
        }
    }
}
